package com.wkk.authorization.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author : WangKeKe
 * @date : 2020/10/5 12:08
 * Description : 角色实体类
 */


@Data
@TableName("ums_role")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ums_role对象", description = "ums_role")
public class UmsRole implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "分布式ID")
    private String id;

    @ApiModelProperty(value = "角色描述")
    private String name;

    @ApiModelProperty(value = "0->不上线 1->上线")
    private Integer status;

    @ApiModelProperty(value = "逻辑删除标志 1: 被删除 0：还存在")
    private Integer deleted;
}
